package com.kittenhuffing;
import org.newdawn.slick.*;
import org.newdawn.slick.state.StateBasedGame;

public class KittenHuffing extends StateBasedGame {
	public static final int GAMEPLAYSTATE = 0;
	public static final int TARGETFPS = 60;
	public static final float GRAVITY = 10;
	public static final float SCALE = 30;
	private static int width = 0;
	private static int height = 0;

    public KittenHuffing() {
        super("KittenHuffing");
        
        this.addState(new GameplayState(GAMEPLAYSTATE));
        this.enterState(GAMEPLAYSTATE);
    }
   

    public static void main(String[] args) {
        try {
            AppGameContainer app = new AppGameContainer(new KittenHuffing());
            width = app.getScreenWidth();
            height = app.getScreenHeight();
            app.setDisplayMode(width, height, true);
            app.setTargetFrameRate(TARGETFPS);
            app.setShowFPS(true);
            app.start();
        } catch (SlickException e) {
            e.printStackTrace();
        }
    }


	@Override
	public void initStatesList(GameContainer gameContainer) throws SlickException {
		this.getState(GAMEPLAYSTATE).init(gameContainer, this);
	}
}

